package com.yuwei.order

import com.alibaba.android.arouter.facade.annotation.Autowired
import com.alibaba.android.arouter.facade.annotation.Route
import com.alibaba.android.arouter.launcher.ARouter
import com.blankj.utilcode.util.LogUtils
import com.yuwei.base.RoutePath
import com.yuwei.common.mvi.BaseViewActivity
import com.yuwei.database.entity.AddressEntity
import com.yuwei.database.entity.GoodsEntityItem
import com.yuwei.order.databinding.ActivityPaySuccessBinding

/**
 * 支付成功页面
 */
@Route(path = RoutePath.MODULE_ORDER_PAY_SUCCESS_ACTIVITY)
class PaySuccessActivity : BaseViewActivity<ActivityPaySuccessBinding>(){
    @Autowired(name = "addressItem")
    lateinit var addressEntity: AddressEntity
    @Autowired(name = "carData")
    @JvmField
    var carData: String = ""

    override fun initView() {
        ARouter.getInstance().inject(this)
        binding.btnGoHome.setOnClickListener {
            finish()
            ARouter.getInstance().build(RoutePath.MAIN_ACTIVITY).navigation()
        }
    }

    override fun initData() {

    }
}